﻿"use strict";

angular.module('ecApp').directive('ecAddProject',
    function () {
        return {
            templateUrl: '/app/components/addProject/ecAddProjectDirective.html',
            link: function (scope, el, attr) {
                scope.close = function () {
                    scope.widgets.splice(scope.widgets.indexOf(scope.item), 1);
                }
            }
        };
    });